﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SocialFront.Providers.Image;
using umbraco.presentation.nodeFactory;

namespace SocialFront.Web.usercontrols.Gallery
{
    public partial class MemberImage : System.Web.UI.UserControl
    {
        public Entities.Image Image { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            Image = ImageProvider.Provider.GetImageById(Node.GetCurrent().Id);
            lImageTitle.Text = Image.Title;
            lContent.Text = Image.Content;
        }
    }
}